* lisp/simple.el (read-from-kill-ring): Ignore `read-only' text property.
authorJuri Linkov <juri@linkov.net>
Thu, 1 Feb 2024 17:16:37 +0000 (19:16 +0200)
committerJuri Linkov <juri@linkov.net>
Thu, 1 Feb 2024 17:16:37 +0000 (19:16 +0200)
Add `read-only' to the list of text properties removed from history items
(bug#68847).

lisp/simple.el

index 8246b9cab812d78a2c5374f24a5c02e5965644eb..9a33049f4caa75d2a37b4bf1cad9484c07dac267 100644 (file)
@@ -6419,7 +6419,7 @@ PROMPT is a string to prompt with."
                      0 (length s)
                      '(
                        keymap local-map action mouse-action
-                       button category help-args)
+                       read-only button category help-args)
                      s)
                     s)
                   kill-ring))